
package kz.sdu.javaee.techsupport.ws;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for stateDTO complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="stateDTO">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="active" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="istate" type="{http://kz.sdu.ucw.j2ee.app.fsample.ws}iStateDTO" minOccurs="0"/>
 *         &lt;element name="pstate" type="{http://kz.sdu.ucw.j2ee.app.fsample.ws}stateDTO" minOccurs="0"/>
 *         &lt;element name="user" type="{http://kz.sdu.ucw.j2ee.app.fsample.ws}userDTO" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "stateDTO", propOrder = {
    "active",
    "id",
    "istate",
    "pstate",
    "user"
})
public class StateDTO {

    protected boolean active;
    protected int id;
    protected IStateDTO istate;
    protected StateDTO pstate;
    protected UserDTO user;

    /**
     * Gets the value of the active property.
     * 
     */
    public boolean isActive() {
        return active;
    }

    /**
     * Sets the value of the active property.
     * 
     */
    public void setActive(boolean value) {
        this.active = value;
    }

    /**
     * Gets the value of the id property.
     * 
     */
    public int getId() {
        return id;
    }

    /**
     * Sets the value of the id property.
     * 
     */
    public void setId(int value) {
        this.id = value;
    }

    /**
     * Gets the value of the istate property.
     * 
     * @return
     *     possible object is
     *     {@link IStateDTO }
     *     
     */
    public IStateDTO getIstate() {
        return istate;
    }

    /**
     * Sets the value of the istate property.
     * 
     * @param value
     *     allowed object is
     *     {@link IStateDTO }
     *     
     */
    public void setIstate(IStateDTO value) {
        this.istate = value;
    }

    /**
     * Gets the value of the pstate property.
     * 
     * @return
     *     possible object is
     *     {@link StateDTO }
     *     
     */
    public StateDTO getPstate() {
        return pstate;
    }

    /**
     * Sets the value of the pstate property.
     * 
     * @param value
     *     allowed object is
     *     {@link StateDTO }
     *     
     */
    public void setPstate(StateDTO value) {
        this.pstate = value;
    }

    /**
     * Gets the value of the user property.
     * 
     * @return
     *     possible object is
     *     {@link UserDTO }
     *     
     */
    public UserDTO getUser() {
        return user;
    }

    /**
     * Sets the value of the user property.
     * 
     * @param value
     *     allowed object is
     *     {@link UserDTO }
     *     
     */
    public void setUser(UserDTO value) {
        this.user = value;
    }

}
